package com.brightworks.langcollabplayer.control
{
    import com.brightworks.langcollabplayer.commands.RetrieveDataFromLocalDBCommand;
    import com.brightworks.langcollabplayer.commands.UpdateLocalDBFromModelCommand;
    import com.brightworks.langcollabplayer.events.RetrieveDataFromLocalDBEvent;
    import com.brightworks.langcollabplayer.events.UpdateLocalDBFromModelEvent;

    import com.brightworks.langcollabplayer.control.PlayerController;

    public class AirPlayerController extends PlayerController
    {
        public function AirPlayerController()
        {
            super();
        }

        override public function initialiseCommands() : void
        {
            super.initialiseCommands();
            addCommand(RetrieveDataFromLocalDBEvent.EVENT_RETRIEVE_DATA_FROM_LOCAL_DB, RetrieveDataFromLocalDBCommand);
            addCommand(UpdateLocalDBFromModelEvent.EVENT_UPDATE_LOCAL_DB_FROM_MODEL, UpdateLocalDBFromModelCommand);
        }
    }
}